package com.pet.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pet.system.SysUser;
import com.pet.vo.SysUserQueryVo;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author whd
 * @since 2023-07-29
 */
public interface SysUserService extends IService<SysUser>, UserDetailsService {

    Map<String, Object> getUserInfo(String username);

    SysUser getUserInfoUserName(String username);

    IPage<SysUser> selectpage(IPage<SysUser> iPage, SysUserQueryVo sysUserQueryVo);

    void updateStatus(Long id, Integer status);

}
